package com.zhx.rmq.provider.controller;

import com.zhx.rmq.entity.result.ResultVo;
import com.zhx.rmq.utils.ResultVoUtil;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;


/**
 * @author zhang-rongyao
 * @version V1.0
 * @Package com.zhx.rmq.provider.controller
 * @date 2021/7/19 9:56
 */
@RestController
public class UtilController {

    @GetMapping("/post1")
    public ResultVo test(Map map){

        System.out.println("======"+map.toString());

        return ResultVoUtil.success("okokokokokoko");
    }

}
